package imnu.th.tongxin;

import java.awt.image.Kernel;

/**
 * @author: lys
 * @类名: Test01
 * @Title:
 * @date: 2020/7/22
 **/
public class Test01 {
    public static void main(String[] args) {
        Kitchen kitchen = new Kitchen();
        Mother mother = new Mother(kitchen);
        Chid chid1 = new Chid("tom",kitchen,10);
        Chid chid2 = new Chid("小明",kitchen,7);
        Chid chid3 = new Chid("lily",kitchen,4);

        mother.start();
        chid1.start();
        chid2.start();
        chid3.start();

    }
}
